package cn.source.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.source.common.annotation.Excel;
import cn.source.common.core.domain.BaseEntity;

/**
 * 收藏夹对象 my_favorite
 * 
 * @author sourcebyte.vip
 * @date 2024-06-21
 */
public class MyFavorite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 会员ID */
    @Excel(name = "会员ID")
    private String userId;

    /** 学校编码 */
    @Excel(name = "学校编码")
    private String schoolCode;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 专业组 */
    @Excel(name = "专业组")
    private String zyz;

    /** 专业编码 */
    @Excel(name = "专业编码")
    private String majorCode;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String majorName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setSchoolCode(String schoolCode) 
    {
        this.schoolCode = schoolCode;
    }

    public String getSchoolCode() 
    {
        return schoolCode;
    }
    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }
    public void setZyz(String zyz) 
    {
        this.zyz = zyz;
    }

    public String getZyz() 
    {
        return zyz;
    }
    public void setMajorCode(String majorCode) 
    {
        this.majorCode = majorCode;
    }

    public String getMajorCode() 
    {
        return majorCode;
    }
    public void setMajorName(String majorName) 
    {
        this.majorName = majorName;
    }

    public String getMajorName() 
    {
        return majorName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("schoolCode", getSchoolCode())
            .append("schoolName", getSchoolName())
            .append("zyz", getZyz())
            .append("majorCode", getMajorCode())
            .append("majorName", getMajorName())
            .toString();
    }
}
